package com.mall.client.eshop;

import java.util.List;

import com.mall.pojo.EshopUserInfo;
import com.mall.pojo.EshopUserInfoExample;
import com.mall.query.Page;
import com.mall.query.eshop.EshopUserQuery;

public interface EshopUserInfoService {
	/**
	 * 获得出售店铺人的信息列表
	 * 
	 * @param sellerInfoExample
	 * @return
	 */
	List<EshopUserInfo> getEshopUserInfoListBySellerInfoExample(EshopUserInfoExample sellerInfoExample);

	/**
	 * 后台展示需求用户的列表
	 * 
	 * @param eshopUserQuery
	 * @param page
	 * @return
	 */
	List<EshopUserInfo> getEshopUserInfoListBySellerInfoByQuery(EshopUserQuery eshopUserQuery, Page page);

	/**
	 * 修改售铺者信息
	 * 
	 * @param sellerInfo
	 * @return
	 */
	int modifyEshopUserInfoBySellerInfo(EshopUserInfo eshopUserInfo);

	/**
	 * 添加售铺者信息
	 * 
	 * @param sellerInfo
	 * @return
	 */
	int insertEshopUserInfoBySellerInfo(EshopUserInfo eshopUserInfo);
	
	
	int getEshopUserInfoCountByQuery(EshopUserQuery eshopUserQuery);

	/**
	 * 通过id获得售铺者信息
	 * 
	 * @param id
	 * @return
	 */
	EshopUserInfo getEshopUserInfoBySellerInfoId(Long id);

	Integer getEshopUserInfoCountByExample(EshopUserInfoExample example);
}
